cssprovider: Don't convert widget style properties to CSS
authorBenjamin Otte <otte@redhat.com>
Mon, 23 May 2011 05:10:56 +0000 (07:10 +0200)
committerBenjamin Otte <otte@redhat.com>
Mon, 23 May 2011 13:56:09 +0000 (15:56 +0200)
They are still CSS, so converting them is wrong.

gtk/gtkcssprovider.c

index 2be10391711115030af2b04158c6c1e4fd62a5f1..d433573381e2d2477ca11309f8004d30936a7167 100644 (file)
@@ -3009,9 +3009,7 @@ gtk_css_ruleset_print (const GtkCssRuleset *ruleset,
           g_string_append (str, "  ");
           g_string_append (str, name);
           g_string_append (str, ": ");
-          s = _gtk_css_value_to_string (value);
-          g_string_append (str, s);
-          g_free (s);
+          g_string_append (str, g_value_get_string (value));
           g_string_append (str, ";\n");
         }